BMI\Plugin\BMI_Ajax D

Total Complexity 784
Dependencies 22
Dependents 1
Total lines 3,385
Lines of code 2,427
Logical lines of code 1,952
Comment lines 277
Methods 57
Properties 3

Methods 57

Method Rating Maintainability Complexity Lines of code
saveOtherOptions()
D
22
62 148
restoreBackup()
D
19
58 188
prepareAndMakeBackup()
D
19
58 182
parseFilesForBackup()
D
22
60 149
__construct()
D
28
48 100
saveFilesConfig()
D
26
46 130
sendTroubleshootingDetails()
D
25
36 150
createBackup()
D
33 39 81
scanFilesForBackup()
D
30 34 106
saveStorageConfig()
D
31 32 96
handleQuickMigration()
C
29
27 116
calculateCron()
C
33 26 91
migrationExceptionHandler()
B
34 22 80
removeBackupFile()
B
37 23 64
forceRestoreToStop()
B
39 22 55
backupErrorHandler()
B
38 20 63
forceBackupToStop()
B
42 19 45
checkStagingLocalName()
A
41 13 52
resetLatestLogs()
A
44 10 40
isMigrationLocked()
A
50 10 25
checkIfPHPCliExist()
A
48 9 31
rrmdir()
A
55 9 19
saveStorageTypeConfig()
A
47 8 32
dirSize()
A
48 8 29
tastewpStagingCreation()
A
55 8 17
downloadFile()
S
47 5 36
isRunningBackup()
S
56 5 16
sendTestMail()
S
59 5 13
getLatestBackupFile()
S
54 4 20
toggleBackupLock()
S
57 4 15
startLocalStagingCreation()
S
59 4 13
localStagingCreationProcess()
S
59 4 13
logSharing()
S
61 4 12
makeBackupName()
S
46 2 36
getDynamicNames()
S
57 3 17
siteURL()
S
69 4 5
actionsAfterProcess()
S
64 3 9
isStagingSiteCreationOngoing()
S
66 3 8
revertUnameProcess()
S
64 3 9
stopBackup()
S
63 3 10
resetConfiguration()
S
62 2 12
fixUnameFunction()
S
61 2 11
backupExceptionHandler()
S
63 2 10
migrationErrorHandler()
S
63 2 10
stagingSitesGetList()
S
69 1 6
stagingRename()
S
67 1 7
stagingPrepareLogin()
S
69 1 6
stagingDelete()
S
69 1 6
getDatabaseSize()
S
66 1 8
dismissErrorNotice()
S
81 1 3
getSiteData()
S
69 1 6
handleChunkUpload()
S
80 1 3
getBackupsList()
S
69 1 6
continueRestoreProcess()
S
91 1 2
revertLitespeed()
S
76 1 4
fixLitespeed()
S
76 1 4
debugging()
S
91 1 2